# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-validators
pkgver=0.17.1
pkgrel=0
pkgdesc="Python3 Data Validation for Humans"
url="https://github.com/kvesteri/validators"
arch="all"
license="MIT"
depends="python3 py3-six py3-decorator"
makedepends="py3-setuptools"
checkdepends="py3-isort py3-pytest py3-flake8"
source="https://files.pythonhosted.org/packages/source/v/validators/validators-$pkgver.tar.gz"
builddir="$srcdir/validators-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b17926f09d603f8e44c6da630c16c5d0222b4db1215d3952a07a42f2178df953816b16d4c86fb54cf420dd872f691d0f0e214c949cf151acf431c245651db892  validators-0.17.1.tar.gz"
